﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CloundUploader.Framework.Upload
{
    public class UploaderEventArgs : EventArgs
    {
        #region Fields

        private Uploader uploader;
        private bool willStart;

        #endregion

        #region Constructor

        public UploaderEventArgs(Uploader up)
        {
            this.uploader = up;
        }

        public UploaderEventArgs(Uploader up, bool willStart)
            : this(up)
        {
            this.willStart = willStart;
        }

        #endregion

        #region Properties

        public Uploader Uploader
        {
            get { return uploader; }
        }

        public bool WillStart
        {
            get { return willStart; }
        }

        #endregion
    } 
}
